package com.chenfan.magic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zwx
 */
@Data
@TableName("idc_datasource_type")
@ApiModel(value = "DatasourceType对象", description = "DatasourceType对象")
public class IdcDatasourceType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "数据源类型")
    private String type;

    @ApiModelProperty(value = "数据库类型")
    private String dbType;

    @ApiModelProperty(value = "连接池类")
    private String pool;

    @ApiModelProperty(value = "连接池驱动类")
    private String driverClassName;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "类型代码")
    private String code;

    @ApiModelProperty(value = "数据源涉及版本号")
    private String version;
}
